import request from '@/utils/request'

// 查询维修金额审核列表
export function listRepairCheck(query) {
  return request({
    url: '/repair/repairCheck/list',
    method: 'get',
    params: query
  })
}

// 查询维修金额审核详细
export function getRepairCheck(checkId) {
  return request({
    url: '/repair/repairCheck/' + checkId,
    method: 'get'
  })
}

// 修改维修金额审核
export function updateRepairCheck(data) {
  return request({
    url: '/repair/repairCheck',
    method: 'put',
    data: data
  })
}

// 删除维修金额审核
export function delRepairCheck(checkId) {
  return request({
    url: '/repair/repairCheck/' + checkId,
    method: 'delete'
  })
}
